package com.kaigejava.demo.business.barrgelog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kaigejava.demo.business.barrgelog.entity.BarrageLogEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: kaigejava
 * @Date: 2023/11/10 19:01
 * @Description: 弹幕记录的dao层
 **/

@Mapper
public interface BarrageLogMapper extends BaseMapper<BarrageLogEntity> {


    int insert(BarrageLogEntity entity);

    List<BarrageLogEntity> selectByCode(@Param("typeCode") String typeCode);
}
